home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: phcoms4.seri.philips.nl!aonl01!sspl01!nygeerts
- From: nygeerts@sspl01.seri.philips.nl (Arjan Geertsema)
- Subject: StandardIn
- Sender: news@nyhp02.serigate.philips.nl (NEWS)
- Message-ID: <DMB5AC.2tD@nyhp02.serigate.philips.nl>
- Date: Mon, 5 Feb 1996 14:51:48 GMT
- Organization: Philips Semiconductors, Nijmegen
- X-Newsreader: Tin 1.1 PL4
-
- Is there a simple way to change a program wich uses an normal input file to use
- stdin for his input.
- Now I'm using:
-
- FILE *fopen () ;
- infile= fopen (filename, "rb") ;
-
- I want to use both input methods next to eachother. Just like the UNIX lp
- command.
-
- Thanks in advance,
-
- Arjan
-
- --
- *****************************************************************************
- * Arjan H. Geertsma \|/ *
- * Philips C&M Nijmegen (o o) phone : (+31-24-353)3083 *
- * FB3.091 _oO0_( )_0Oo_ e-mail: a.geertsma@nym.sc.philips.com *
- *****************************************************************************
-